# Sample input data
data = """
11	0.130853	172.17.0.2	138.199.9.104	TLSv1.3	328	Client Hello (SNI=plausible.io)
20	0.604942	172.17.0.2	185.199.108.153	TLSv1.3	342	Client Hello (SNI=googlechromelabs.github.io)
1640	5.606865	172.17.0.2	120.53.130.158	TLSv1.2	1822	Client Hello (SNI=www.douban.com)
1684	6.647563	172.17.0.2	218.92.216.53	TLSv1.2	1889	Client Hello (SNI=img1.doubanio.com)
1688	6.649734	172.17.0.2	218.92.216.53	TLSv1	1857	Client Hello (SNI=img1.doubanio.com)
1695	6.652211	172.17.0.2	218.92.216.53	TLSv1.2	1857	Client Hello (SNI=img1.doubanio.com)
1703	6.657532	172.17.0.2	218.92.216.53	TLSv1	1889	Client Hello (SNI=img1.doubanio.com)
1706	6.658545	172.17.0.2	218.92.216.53	TLSv1	1825	Client Hello (SNI=img1.doubanio.com)
1707	6.659570	172.17.0.2	218.92.216.53	TLSv1	1825	Client Hello (SNI=img1.doubanio.com)
1919	7.512123	172.17.0.2	81.70.125.19	TLSv1.2	1793	Client Hello (SNI=erebor.douban.com)
2033	7.680052	172.17.0.2	58.205.209.163	TLSv1	1793	Client Hello (SNI=img3.doubanio.com)
2039	7.680628	172.17.0.2	58.205.209.163	TLSv1.3	1793	Client Hello (SNI=img3.doubanio.com)
2041	7.681224	172.17.0.2	58.205.209.163	TLSv1.3	1889	Client Hello (SNI=img3.doubanio.com)
2241	8.235934	172.17.0.2	58.205.220.38	TLSv1.2	1825	Client Hello (SNI=img9.doubanio.com)
2245	8.237032	172.17.0.2	58.205.220.38	TLSv1.2	1825	Client Hello (SNI=img9.doubanio.com)
2249	8.237568	172.17.0.2	58.205.220.38	TLSv1.2	1825	Client Hello (SNI=img9.doubanio.com)
2256	8.247225	172.17.0.2	58.205.220.38	TLSv1	1889	Client Hello (SNI=img9.doubanio.com)
2627	8.460013	172.17.0.2	121.194.9.213	TLSv1.3	1793	Client Hello (SNI=img2.doubanio.com)
2630	8.460609	172.17.0.2	121.194.9.213	TLSv1.3	1857	Client Hello (SNI=img2.doubanio.com)
2634	8.461266	172.17.0.2	121.194.9.213	TLSv1.3	1889	Client Hello (SNI=img2.doubanio.com)
4145	9.218296	172.17.0.2	120.253.255.105	TLSv1.3	1832	Client Hello (SNI=ssl.google-analytics.com)
4191	10.273287	172.17.0.2	120.253.255.105	QUIC	1292	Initial, DCID=13657989b2f95215, PKN: 2, PADDING, CRYPTO, PADDING, CRYPTO, CRYPTO, CRYPTO
4384	14.184824	172.17.0.2	154.8.131.165	TLSv1	1887	Client Hello (SNI=ad.doubanio.com)
4894	18.329597	172.17.0.2	120.53.130.158	TLSv1.2	1820	Client Hello (SNI=m.douban.com)
4937	18.629006	172.17.0.2	154.8.131.165	TLSv1	1855	Client Hello (SNI=ad.doubanio.com)
5183	19.223744	172.17.0.2	154.8.131.165	TLSv1	1855	Client Hello (SNI=ad.doubanio.com)
5503	19.506223	172.17.0.2	58.205.209.163	TLSv1.3	1891	Client Hello (SNI=shared.ydstatic.com)
5551	20.150623	172.17.0.2	103.74.28.82	TLSv1	1825	Client Hello (SNI=gorgon.youdao.com)
5560	20.198505	172.17.0.2	103.74.28.82	TLSv1	1825	Client Hello (SNI=gorgon.youdao.com)
5734	23.710063	172.17.0.2	154.8.131.165	TLSv1	1823	Client Hello (SNI=ad.doubanio.com)
5741	23.814883	172.17.0.2	121.194.9.213	TLSv1.3	2144	Client Hello (SNI=img2.doubanio.com)
6384	27.048605	172.17.0.2	121.194.9.213	TLSv1.3	2144	Client Hello (SNI=img2.doubanio.com)
6385	27.049206	172.17.0.2	121.194.9.213	TLSv1.3	1857	Client Hello (SNI=img2.doubanio.com)
7874	33.521001	172.17.0.2	154.8.131.165	TLSv1	1887	Client Hello (SNI=ad.doubanio.com)
7880	33.531997	172.17.0.2	103.74.28.82	TLSv1	1857	Client Hello (SNI=gorgon.youdao.com)
7889	33.538252	172.17.0.2	103.74.28.82	TLSv1	1825	Client Hello (SNI=gorgon.youdao.com)
8805	38.588138	172.17.0.2	154.8.131.165	TLSv1	1791	Client Hello (SNI=ad.doubanio.com)
10943	50.469850	172.17.0.2	154.8.131.165	TLSv1	1823	Client Hello (SNI=ad.doubanio.com)
12026	55.549446	172.17.0.2	154.8.131.165	TLSv1	1887	Client Hello (SNI=ad.doubanio.com)
15344	60.010540	172.17.0.2	120.253.253.97	TLSv1.3	1832	Client Hello (SNI=www.google-analytics.com)
15400	60.877608	172.17.0.2	120.253.253.97	QUIC	1292	Initial, DCID=506bb4d98812309c, PKN: 2, PADDING, CRYPTO, CRYPTO, PADDING, PING, CRYPTO, PADDING
15411	61.115987	172.17.0.2	120.253.253.41	TLSv1.3	1800	Client Hello (SNI=www.googletagmanager.com)
26509	73.410921	172.17.0.2	120.253.253.41	QUIC	1292	Initial, DCID=beff4a778d1d9e18, PKN: 2, CRYPTO, PADDING, CRYPTO, PADDING, PING, PING, CRYPTO, CRYPTO, CRYPTO, PADDING, PING, CRYPTO, PING
26865	73.683597	172.17.0.2	182.61.200.166	TLSv1	1788	Client Hello (SNI=hm.baidu.com)
26875	73.725122	172.17.0.2	182.61.200.166	TLSv1	1788	Client Hello (SNI=hm.baidu.com)
27062	73.896832	172.17.0.2	58.205.209.162	TLSv1.3	1889	Client Hello (SNI=img3.doubanio.com)
29293	83.453373	172.17.0.2	120.53.130.158	TLSv1.2	1885	Client Hello (SNI=fm.douban.com)
29316	85.447550	172.17.0.2	43.141.131.226	TLSv1.2	1792	Client Hello (SNI=doubanfm.kuwo.cn)
30333	86.441737	172.17.0.2	43.141.11.212	TLSv1.2	1786	Client Hello (SNI=y.gtimg.cn)
30418	96.334818	172.17.0.2	43.141.11.12	TLSv1.3	1890	Client Hello (SNI=static.arkread.com)
30425	96.335459	172.17.0.2	43.141.11.12	TLSv1.3	1794	Client Hello (SNI=static.arkread.com)
30432	96.335820	172.17.0.2	43.141.11.12	TLSv1.3	1826	Client Hello (SNI=static.arkread.com)
30436	96.336192	172.17.0.2	43.141.11.12	TLSv1.3	1890	Client Hello (SNI=static.arkread.com)
30438	96.337036	172.17.0.2	43.141.11.12	TLSv1.3	1858	Client Hello (SNI=static.arkread.com)
30441	96.337603	172.17.0.2	43.141.11.12	TLSv1.3	1794	Client Hello (SNI=static.arkread.com)
30444	96.338278	172.17.0.2	43.141.11.12	TLSv1.3	1826	Client Hello (SNI=static.arkread.com)
31098	97.797255	172.17.0.2	103.39.76.66	TLSv1.3	1888	Client Hello (SNI=www.google.co.th)
31105	97.826806	172.17.0.2	120.253.250.230	TLSv1.3	1863	Client Hello (SNI=stats.g.doubleclick.net)
31112	97.896346	172.17.0.2	216.239.36.181	TLSv1.3	1828	Client Hello (SNI=analytics.google.com)
31173	98.061778	172.17.0.2	216.239.36.181	TLSv1	1828	Client Hello (SNI=analytics.google.com)
31176	98.062346	172.17.0.2	216.239.36.181	TLSv1	1828	Client Hello (SNI=analytics.google.com)
31184	98.071512	172.17.0.2	216.239.36.181	TLSv1	1828	Client Hello (SNI=analytics.google.com)
38591	112.416613	172.17.0.2	216.239.36.181	QUIC	1292	Initial, DCID=012daa0d6412d70d, PKN: 2, PADDING, CRYPTO, PADDING, CRYPTO, CRYPTO, PADDING, CRYPTO, CRYPTO, CRYPTO, PING, PADDING, PING, PADDING, CRYPTO, PADDING
38845	112.600714	172.17.0.2	121.194.9.213	TLSv1.3	2112	Client Hello (SNI=img2.doubanio.com)
40184	130.728315	172.17.0.2	34.96.102.137	TLSv1	1902	Client Hello (SNI=dev.visualwebsiteoptimizer.com)
40205	133.648844	172.17.0.2	34.96.102.137	TLSv1	1806	Client Hello (SNI=dev.visualwebsiteoptimizer.com)
41953	138.889157	172.17.0.2	218.92.216.53	TLSv1.2	1889	Client Hello (SNI=img1.doubanio.com)
42054	139.471460	172.17.0.2	42.81.8.129	TLSv1.2	1888	Client Hello (SNI=at3.doubanio.com)
42142	140.111507	172.17.0.2	182.61.200.109	TLSv1	1853	Client Hello (SNI=pos.baidu.com)
42151	140.119079	172.17.0.2	182.61.200.109	TLSv1	1885	Client Hello (SNI=pos.baidu.com)
42161	140.505298	172.17.0.2	59.78.173.38	TLSv1	1892	Client Hello (SNI=cpro.baidustatic.com)
42170	140.513630	172.17.0.2	59.78.173.38	TLSv1	1796	Client Hello (SNI=cpro.baidustatic.com)
42190	140.593085	172.17.0.2	34.96.102.137	TLSv1	1870	Client Hello (SNI=dev.visualwebsiteoptimizer.com)
42207	141.027705	172.17.0.2	119.84.93.133	TLSv1.2	1792	Client Hello (SNI=at4.doubanio.com)
42216	141.137000	172.17.0.2	34.96.102.137	TLSv1.3	1838	Client Hello (SNI=dev.visualwebsiteoptimizer.com)
42243	141.316532	172.17.0.2	111.206.208.190	TLSv1	1792	Client Hello (SNI=eclick.baidu.com)
42252	141.321792	172.17.0.2	111.206.208.190	TLSv1	1824	Client Hello (SNI=eclick.baidu.com)
42285	141.872284	172.17.0.2	34.96.102.137	QUIC	1292	Initial, DCID=88992bb791e894f9, PKN: 2, CRYPTO, CRYPTO, PADDING, PING, PADDING, CRYPTO, PADDING, CRYPTO
42306	142.600398	172.17.0.2	111.206.208.190	TLSv1	1888	Client Hello (SNI=eclick.baidu.com)
42315	142.636196	172.17.0.2	111.206.208.190	TLSv1	1888	Client Hello (SNI=eclick.baidu.com)
42324	142.865415	172.17.0.2	111.206.208.190	TLSv1	1824	Client Hello (SNI=eclick.baidu.com)
42332	142.872192	172.17.0.2	111.206.208.190	TLSv1	1888	Client Hello (SNI=eclick.baidu.com)
42341	143.994892	172.17.0.2	154.8.131.165	TLSv1	1823	Client Hello (SNI=ad.doubanio.com)
42349	144.073474	172.17.0.2	103.74.28.82	TLSv1	1793	Client Hello (SNI=gorgon.youdao.com)
42358	144.082025	172.17.0.2	103.74.28.82	TLSv1	1825	Client Hello (SNI=gorgon.youdao.com)
43467	147.794794	172.17.0.2	154.8.131.165	TLSv1	1823	Client Hello (SNI=ad.doubanio.com)
43489	148.089293	172.17.0.2	154.8.131.165	TLSv1	1855	Client Hello (SNI=ad.doubanio.com)
43495	148.101947	172.17.0.2	103.74.28.82	TLSv1	1889	Client Hello (SNI=gorgon.youdao.com)
43504	148.108614	172.17.0.2	103.74.28.82	TLSv1	1825	Client Hello (SNI=gorgon.youdao.com)
44457	148.365976	172.17.0.2	59.78.173.38	TLSv1	1892	Client Hello (SNI=cpro.baidustatic.com)
44674	148.390908	172.17.0.2	59.78.173.38	TLSv1	1860	Client Hello (SNI=cpro.baidustatic.com)
44778	148.406916	172.17.0.2	182.61.200.109	TLSv1	1789	Client Hello (SNI=pos.baidu.com)
44788	148.454544	172.17.0.2	182.61.200.109	TLSv1	1853	Client Hello (SNI=pos.baidu.com)
45526	148.808356	172.17.0.2	111.206.208.190	TLSv1	1792	Client Hello (SNI=eclick.baidu.com)
45535	148.815548	172.17.0.2	111.206.208.190	TLSv1	1888	Client Hello (SNI=eclick.baidu.com)
45885	149.094760	172.17.0.2	154.8.131.165	TLSv1	1791	Client Hello (SNI=ad.doubanio.com)
45909	150.630232	172.17.0.2	111.206.208.190	TLSv1	1888	Client Hello (SNI=eclick.baidu.com)
45918	150.637531	172.17.0.2	111.206.208.190	TLSv1	1888	Client Hello (SNI=eclick.baidu.com)
45927	151.402450	172.17.0.2	111.206.208.190	TLSv1	1792	Client Hello (SNI=eclick.baidu.com)
45936	151.413357	172.17.0.2	111.206.208.190	TLSv1	1888	Client Hello (SNI=eclick.baidu.com)
46748	152.840574	172.17.0.2	154.8.131.165	TLSv1	1791	Client Hello (SNI=ad.doubanio.com)
47486	153.033387	172.17.0.2	122.205.109.41	TLSv1.3	1890	Client Hello (SNI=dn-growing.qbox.me)
47728	153.111261	172.17.0.2	154.8.131.165	TLSv1	1887	Client Hello (SNI=ad.doubanio.com)
48307	153.290431	172.17.0.2	120.53.130.158	TLSv1.2	1888	Client Hello (SNI=frodo.douban.com)
48308	153.290691	172.17.0.2	120.53.130.158	TLSv1.2	1888	Client Hello (SNI=frodo.douban.com)
48311	153.290991	172.17.0.2	120.53.130.158	TLSv1.2	1856	Client Hello (SNI=frodo.douban.com)
48316	153.291232	172.17.0.2	120.53.130.158	TLSv1.2	1824	Client Hello (SNI=frodo.douban.com)
48325	153.291936	172.17.0.2	120.53.130.158	TLSv1.2	1824	Client Hello (SNI=frodo.douban.com)
48326	153.292264	172.17.0.2	120.53.130.158	TLSv1.2	1856	Client Hello (SNI=frodo.douban.com)
48441	153.336373	172.17.0.2	120.53.130.158	TLSv1.2	2064	Client Hello (SNI=frodo.douban.com)
48446	153.338603	172.17.0.2	120.53.130.158	TLSv1.2	2096	Client Hello (SNI=frodo.douban.com)
48460	153.340772	172.17.0.2	120.53.130.158	TLSv1.2	2000	Client Hello (SNI=frodo.douban.com)
48515	153.429197	172.17.0.2	154.8.131.165	TLSv1	1887	Client Hello (SNI=ad.doubanio.com)
48525	153.434943	172.17.0.2	154.8.131.165	TLSv1	1855	Client Hello (SNI=ad.doubanio.com)
48536	153.445446	172.17.0.2	154.8.131.165	TLSv1	1887	Client Hello (SNI=ad.doubanio.com)
48546	153.467203	172.17.0.2	59.78.173.38	TLSv1	1892	Client Hello (SNI=cpro.baidustatic.com)
48557	153.473736	172.17.0.2	59.78.173.38	TLSv1	1892	Client Hello (SNI=cpro.baidustatic.com)
48576	153.485943	172.17.0.2	182.61.200.109	TLSv1	1853	Client Hello (SNI=pos.baidu.com)
48637	153.494538	172.17.0.2	182.61.200.109	TLSv1	1821	Client Hello (SNI=pos.baidu.com)
49298	154.287363	172.17.0.2	111.206.208.190	TLSv1	1888	Client Hello (SNI=eclick.baidu.com)
49307	154.292718	172.17.0.2	111.206.208.190	TLSv1	1824	Client Hello (SNI=eclick.baidu.com)
49316	155.500120	172.17.0.2	111.206.208.190	TLSv1	1792	Client Hello (SNI=eclick.baidu.com)
49325	155.505898	172.17.0.2	111.206.208.190	TLSv1	1888	Client Hello (SNI=eclick.baidu.com)
49334	156.432119	172.17.0.2	154.8.131.165	TLSv1	1855	Client Hello (SNI=ad.doubanio.com)
49340	156.443711	172.17.0.2	103.74.28.82	TLSv1	1793	Client Hello (SNI=gorgon.youdao.com)
49349	156.470026	172.17.0.2	103.74.28.82	TLSv1	1793	Client Hello (SNI=gorgon.youdao.com)
49360	156.481685	172.17.0.2	111.206.208.190	TLSv1	1824	Client Hello (SNI=eclick.baidu.com)
49369	156.487896	172.17.0.2	111.206.208.190	TLSv1	1792	Client Hello (SNI=eclick.baidu.com)
49393	158.444352	172.17.0.2	154.8.131.165	TLSv1	1791	Client Hello (SNI=ad.doubanio.com)
49402	158.449445	172.17.0.2	154.8.131.165	TLSv1	1791	Client Hello (SNI=ad.doubanio.com)
49410	158.459737	172.17.0.2	154.8.131.165	TLSv1	1887	Client Hello (SNI=ad.doubanio.com)
50869	161.170685	172.17.0.2	154.8.131.165	TLSv1	1791	Client Hello (SNI=ad.doubanio.com)
50875	161.187028	172.17.0.2	103.74.28.82	TLSv1	1889	Client Hello (SNI=gorgon.youdao.com)
50885	161.196651	172.17.0.2	103.74.28.82	TLSv1	1793	Client Hello (SNI=gorgon.youdao.com)
50902	161.498286	172.17.0.2	154.8.131.165	TLSv1	1887	Client Hello (SNI=ad.doubanio.com)
55121	166.197342	172.17.0.2	154.8.131.165	TLSv1	1887	Client Hello (SNI=ad.doubanio.com)
58409	172.596197	172.17.0.2	182.61.200.166	TLSv1	1852	Client Hello (SNI=hm.baidu.com)
58418	172.602197	172.17.0.2	182.61.200.166	TLSv1	1852	Client Hello (SNI=hm.baidu.com)
61865	180.995809	172.17.0.2	182.61.200.166	TLSv1	1820	Client Hello (SNI=hm.baidu.com)
61874	181.002020	172.17.0.2	182.61.200.166	TLSv1	1820	Client Hello (SNI=hm.baidu.com)
"""


def extract_sni(data):
    lines = data.strip().split("\n")
    result = set()

    for line in lines:
        if "Client Hello" in line:
            # Extract SNI
            start = line.find("(SNI=") + len("(SNI=")
            end = line.find(")", start)
            if start > 0 and end > 0:
                sni = line[start:end]
                result.add(sni)

    return result


# Extracted SNI values
sni_values = extract_sni(data)
for sni in sni_values:
    print(sni)
